/**
 * 路由的配置
 */
export default [
  {
    path: '/',
    component: '@/layouts/BasicLayout',
    routes: [
      { path: '/', redirect: '/root' },

      // 入口页
      { path: '/root', component: '@/pages/Root' },

      // scoket
      { path: '/asyncPage', component: '@/pages/AsyncPage/dynamic' },
    ],
  },
];
